import { IsNotEmpty,IsString,IsNumber } from "class-validator";
export class CreatePostDto {
    @IsNotEmpty()
    @IsString()
    post_name:string;

    @IsNotEmpty()
    @IsString()
    post_code:string;

    @IsNotEmpty()
    @IsNumber()
    post_sort:number;

    create_by:string
}
